[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Target = usr/lib/modules/*/vmlinuz
Target = usr/lib/initcpio/*

[Action]
Description = Updating uboot config and image...
When = PostTransaction
Exec = /usr/share/libalpm/scripts/uboot-update.sh
NeedsTargets
